package com.such.kit.database.bean;

import java.sql.DatabaseMetaData;
import com.such.kit.database.support.JdbcResultSetMapping;

/**
 * @author SUCH
 * <pre>
 * 数据库表模式（用户）元数据
 * 
 * [参考 {@link DatabaseMetaData#getSchemas()}]
 * </pre>
 */
public class DatabaseSchema {

	/** catalog：（TABLE_CATALOG）表所在编目 */
	@JdbcResultSetMapping("TABLE_CATALOG")
	private String catalog;
	/** schema：（TABLE_SCHEM）表所在模式 */
	@JdbcResultSetMapping("TABLE_SCHEM")
	private String schema;

	/** [参考 {@link #catalog}] */
	public String getCatalog() {
		return this.catalog;
	}

	/** [参考 {@link #catalog}] */
	public void setCatalog(String catalog) {
		this.catalog = catalog;
	}

	/** [参考 {@link #schema}] */
	public String getSchema() {
		return this.schema;
	}

	/** [参考 {@link #schema}] */
	public void setSchema(String schema) {
		this.schema = schema;
	}

}
